package hcn.cmc.bean.response;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * @description:获取病区列表XML格式返参
 * @author: zhengcb10708
 * @create: 2020-12-18 17:48
 **/
@XmlRootElement(name = "Data")
public class ListPatientAreasXMLResp {
    private List<PatientAreas> WardAreaLists;

    @XmlElementWrapper(name = "WardAreaLists")
    @XmlElement(name = "WardAreaList")
    public List<PatientAreas> getWardAreaLists() {
        return WardAreaLists;
    }

    public void setWardAreaLists(List<PatientAreas> wardAreaLists) {
        WardAreaLists = wardAreaLists;
    }
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class PatientAreas {
        //病区代码
        private String WardAreaCode;
        //病区名称
        private String WardAreaName;

        public String getWardAreaCode() {
            return WardAreaCode;
        }

        public void setWardAreaCode(String wardAreaCode) {
            WardAreaCode = wardAreaCode;
        }

        public String getWardAreaName() {
            return WardAreaName;
        }

        public void setWardAreaName(String wardAreaName) {
            WardAreaName = wardAreaName;
        }
    }
}
